/**
 * 
 */
package example.common.conf;

import java.util.Date;
import java.util.List;
import java.util.Map;

import com.alibaba.dubbo.config.annotation.Service;
import com.vanstone.common.util.CommonDateUtil;

import example.business.api.conf.ConfKey;
import example.business.api.conf.services.ConfService;

/**
 * @author shipeng
 */
@Service
public class ConfServiceImpl implements ConfService {

  /*
   * (non-Javadoc)
   * 
   * @see
   * example.business.api.conf.services.ConfService#getValue(example.business.api.conf.services.
   * ConfKey)
   */
  @Override
  public String getValue(ConfKey confKey) {
    System.out.println(confKey);
    return CommonDateUtil.date2String(new Date(), CommonDateUtil.Y_M_D_H_M_S);
  }

  /*
   * (non-Javadoc)
   * 
   * @see example.business.api.conf.services.ConfService#getValues(java.util.List)
   */
  @Override
  public Map<ConfKey, String> getValues(List<ConfKey> confKeys) {
    // TODO Auto-generated method stub
    return null;
  }

}
